package com.chaychan.bottombarlayout_ohos;

import com.chaychan.bottombarlayout_ohos.slice.MainAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.ability.fraction.FractionAbility;
import ohos.aafwk.content.Intent;
import ohos.agp.utils.Color;
import ohos.agp.window.service.WindowManager;

public class MainAbility extends FractionAbility {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        WindowManager.getInstance().getTopWindow().get().setStatusBarColor(Color.getIntColor("#303F9F"));
    }

}
